#ifndef lq_MCF52259_ADC_driver_H_
#define lq_MCF52259_ADC_driver_H_

#include "MCF52259.h"
#include "MCF52259_UART_driver.h"

#define EnableInterrupts asm { move.w SR,D0; andi.l #0xF8FF,D0; move.w D0,SR;  }


void ADC_init(void);
void ADC_start(void);
void ADC_stop(void);

__declspec(interrupt)void ADC0(void);
__declspec(interrupt)void ADC1(void);
__declspec(interrupt)void ADCRANGE(void);


#endif 